package com.fanghaoran.notes.bean;

/**
 * @Author: win11
 * @Date: 2023/04/21/23:41
 * @Description: 获取搜索词相关商品的个数类
 */
public class CountByName {
    private String name;
    private Long count;

    public CountByName() {
    }

    public CountByName(String name, Long count) {
        this.name = name;
        this.count = count;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name 搜素词
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return count
     */
    public Long getCount() {
        return count;
    }

    /**
     * 设置
     * @param count 个数
     */
    public void setCount(Long count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "CountByName{name = " + name + ", count = " + count + "}";
    }
}
